package com.guomei.bean.curse.domain;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

@Data
public class CourseDistributerRel {
    
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    private Long distributerId;

    private Long courseId;


    /**
     * 课程老师ID
     */
    private Long teacherId;



    private String code;

    private Short status;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createdTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updatedTime;


        /**
     * 分销比例(%)
     */
    private BigDecimal distributionRatio;


}
